package vip.xiaonuo.supplier.modular.finance.settlementproject.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.fhs.core.trans.anno.Trans;
import com.fhs.core.trans.constant.TransType;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import vip.xiaonuo.common.pojo.CommonEntity;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 结算项目实体
 *
 * @author Mr.wu
 * @date  2025/04/10 09:59
 **/
@Getter
@Setter
@TableName("SUPPLIER_SETTLEMENT_PROJECT")
public class SupplierSettlementProject extends CommonEntity {

    /** 项目ID */
    @TableId
    @Schema(description = "项目ID")
    private String id;

    /** 项目编码 */
    @Schema(description = "项目编码")
    private String projectCode;

    /** 项目名称 */
    @Schema(description = "项目名称")
    private String projectName;

    /** 项目类型（0-收入,1-支出） */
    @Schema(description = "项目类型（0-收入,1-支出）")
    @Trans(type = TransType.DICTIONARY, key = "PROJECT_TYPE")
    private String projectType;

    /**

    /** 是否系统项目 */
    @Schema(description = "是否系统项目")
    private String projectIsSystem;

    /** 备注 */
    @Schema(description = "备注")
    private String projectRemark;

    /** 删除标志 */
    @Schema(description = "删除标志")
    @TableLogic
    @TableField(fill = FieldFill.INSERT)
    private String deleteFlag;

    /** 创建时间 */
    @Schema(description = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    /** 创建用户 */
    @Schema(description = "创建用户")
    @TableField(fill = FieldFill.INSERT)
    private String createUser;

    /** 修改时间 */
    @Schema(description = "修改时间")
    @TableField(fill = FieldFill.UPDATE)
    private Date updateTime;

    /** 修改用户 */
    @Schema(description = "修改用户")
    @TableField(fill = FieldFill.UPDATE)
    private String updateUser;

    /** 数据归属 */
    @Schema(description = "数据归属")
    private String companyId;
}
